/* components/slide-delete/slide-delete.wxss */
.friend-list {
  padding: 0 40rpx;
  .picInfoBox {
    position: relative;
    .onlineStatusBox {
      position: absolute;
      top: 0;
      right: 0;
      width: 22rpx;
      height: 22rpx;
      background: #0ac061;
      border-radius: 50%;
    }
    .awayStatusDotBox {
      position: absolute;
      top: 0;
      right: 0;
      width: 22rpx;
      height: 22rpx;
      background: #ffc301;
      border-radius: 50%;
    }
    .offlineDotBox {
      position: absolute;
      top: 0;
      right: 0;
      width: 22rpx;
      height: 22rpx;
      background: #4b4c4c;
      border-radius: 50%;
    }
  }
}

.friend-list .friend-item {
  position: relative;
  width: calc(100vw - 80rpx);
  height: 142rpx;
  margin-top: 20rpx;
  box-sizing: border-box;
  z-index: 999;
}

.friend-list .friend-item movable-area {
  height: 120rpx;
  width: calc(100vw - 160rpx);
}

.friend-list .friend-item movable-view {
  height: 142rpx;
  width: calc(100vw - 80rpx);
  z-index: 999;
}

.friend-list .friend-item .delete-btn {
  position: absolute;
  top: 40rpx;
  bottom: 0;
  right: 2rpx;
  width: 60rpx;
  height: 60rpx;
  z-index: 1;
  text-align: center;

  image {
    width: 100%;
    height: 100%;
  }
}

.friend-list .friend-item-wrap {
  position: relative;
  display: flex;
  align-items: center;
  column-gap: 10rpx;
  height: 142rpx;
  background: #FFFFFF;
  border-radius: 20rpx;
  border: 2rpx solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  padding: 20rpx;

  .msg-date {
    font-family: PingFang SC-Regular;
    font-weight: 400;
    font-size: 24rpx;
    color: rgba(49, 49, 49, 0.5);
    line-height: 40rpx;
  }

  .un-read {
    margin-top: 10rpx;
    width: max-content;
    min-width: 40rpx;
    height: 40rpx;
    padding: 0 10rpx;
    background: #FF7828;
    border-radius: 200rpx;
    font-family: PingFang SC-Regular;
    font-weight: 400;
    font-size: 24rpx;
    color: #FFFFFF;
    line-height: 40rpx;
    text-align: center;
    margin-left: auto;
  }
}

.friend-list .friend-item-wrap .friend-movable-item {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  column-gap: 12rpx;
  .friend-avatarView{
    position: relative;
    .online-s{
      position: absolute;
      right: 0;
      width: 10px;
      height: 10px;
      background: #07C160;
      border-radius: 50%;
    }
    .away-s{
      position: absolute;
      right: 0;
      width: 10px;
      height: 10px;
      background: #FFC300FF;
      border-radius: 50%;
    }
  }
  .friend-avatar {
    width: 80rpx;
    min-width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
  }

  .friend-movable-item-name {
    font-family: PingFang SC-Medium;
    font-weight: 500;
    font-size: 32rpx;
    color: #313131;
    line-height: 48rpx;
    margin-right: 10rpx;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .friend-movable-item-msg {
    font-family: PingFang SC-Regular;
    font-weight: 400;
    font-size: 28rpx;
    color: #313131;
    line-height: 44rpx;
    margin-top: 10rpx;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}